# Form implementation generated from reading ui file 'src/eric7/Preferences/ConfigurationPages/NetworkPage.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_NetworkPage(object):
    def setupUi(self, NetworkPage):
        NetworkPage.setObjectName("NetworkPage")
        NetworkPage.resize(589, 524)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(NetworkPage)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.headerLabel = QtWidgets.QLabel(parent=NetworkPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout_7.addWidget(self.headerLabel)
        self.line9_3 = QtWidgets.QFrame(parent=NetworkPage)
        self.line9_3.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line9_3.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line9_3.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line9_3.setObjectName("line9_3")
        self.verticalLayout_7.addWidget(self.line9_3)
        self.groupBox_3 = QtWidgets.QGroupBox(parent=NetworkPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.dynamicOnlineCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_3)
        self.dynamicOnlineCheckBox.setObjectName("dynamicOnlineCheckBox")
        self.verticalLayout_5.addWidget(self.dynamicOnlineCheckBox)
        self.verticalLayout_7.addWidget(self.groupBox_3)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=NetworkPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_6 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.downloadDirPicker = EricPathPicker(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.downloadDirPicker.sizePolicy().hasHeightForWidth())
        self.downloadDirPicker.setSizePolicy(sizePolicy)
        self.downloadDirPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.downloadDirPicker.setObjectName("downloadDirPicker")
        self.horizontalLayout.addWidget(self.downloadDirPicker)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.requestFilenameCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2)
        self.requestFilenameCheckBox.setObjectName("requestFilenameCheckBox")
        self.verticalLayout_6.addWidget(self.requestFilenameCheckBox)
        self.cleanupGroup = QtWidgets.QGroupBox(parent=self.groupBox_2)
        self.cleanupGroup.setObjectName("cleanupGroup")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.cleanupGroup)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.cleanupNeverButton = QtWidgets.QRadioButton(parent=self.cleanupGroup)
        self.cleanupNeverButton.setObjectName("cleanupNeverButton")
        self.verticalLayout_2.addWidget(self.cleanupNeverButton)
        self.cleanupExitButton = QtWidgets.QRadioButton(parent=self.cleanupGroup)
        self.cleanupExitButton.setObjectName("cleanupExitButton")
        self.verticalLayout_2.addWidget(self.cleanupExitButton)
        self.cleanupSuccessfulButton = QtWidgets.QRadioButton(parent=self.cleanupGroup)
        self.cleanupSuccessfulButton.setObjectName("cleanupSuccessfulButton")
        self.verticalLayout_2.addWidget(self.cleanupSuccessfulButton)
        self.verticalLayout_6.addWidget(self.cleanupGroup)
        self.displayGroup = QtWidgets.QGroupBox(parent=self.groupBox_2)
        self.displayGroup.setObjectName("displayGroup")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.displayGroup)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.openOnStartCheckBox = QtWidgets.QCheckBox(parent=self.displayGroup)
        self.openOnStartCheckBox.setObjectName("openOnStartCheckBox")
        self.verticalLayout_3.addWidget(self.openOnStartCheckBox)
        self.closeOnFinishedCheckBox = QtWidgets.QCheckBox(parent=self.displayGroup)
        self.closeOnFinishedCheckBox.setObjectName("closeOnFinishedCheckBox")
        self.verticalLayout_3.addWidget(self.closeOnFinishedCheckBox)
        self.verticalLayout_6.addWidget(self.displayGroup)
        self.verticalLayout_7.addWidget(self.groupBox_2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_7.addItem(spacerItem)

        self.retranslateUi(NetworkPage)
        QtCore.QMetaObject.connectSlotsByName(NetworkPage)
        NetworkPage.setTabOrder(self.dynamicOnlineCheckBox, self.downloadDirPicker)
        NetworkPage.setTabOrder(self.downloadDirPicker, self.requestFilenameCheckBox)
        NetworkPage.setTabOrder(self.requestFilenameCheckBox, self.cleanupNeverButton)
        NetworkPage.setTabOrder(self.cleanupNeverButton, self.cleanupExitButton)
        NetworkPage.setTabOrder(self.cleanupExitButton, self.cleanupSuccessfulButton)
        NetworkPage.setTabOrder(self.cleanupSuccessfulButton, self.openOnStartCheckBox)
        NetworkPage.setTabOrder(self.openOnStartCheckBox, self.closeOnFinishedCheckBox)

    def retranslateUi(self, NetworkPage):
        _translate = QtCore.QCoreApplication.translate
        self.headerLabel.setText(_translate("NetworkPage", "<b>Configure Network</b>"))
        self.groupBox_3.setTitle(_translate("NetworkPage", "Reachability Status"))
        self.dynamicOnlineCheckBox.setToolTip(_translate("NetworkPage", "Select to determine the Internet reachability status dynamically (assume Internet reachability if unchecked)"))
        self.dynamicOnlineCheckBox.setText(_translate("NetworkPage", "Dynamic Reachability Status Determination"))
        self.groupBox_2.setTitle(_translate("NetworkPage", "Downloads"))
        self.label_6.setText(_translate("NetworkPage", "Download directory:"))
        self.downloadDirPicker.setToolTip(_translate("NetworkPage", "Enter the download directory (leave empty to use the default location)"))
        self.requestFilenameCheckBox.setToolTip(_translate("NetworkPage", "Select to ask the user for a download filename"))
        self.requestFilenameCheckBox.setText(_translate("NetworkPage", "Request name of downloaded file"))
        self.cleanupGroup.setTitle(_translate("NetworkPage", "Download Manager Cleanup Policy"))
        self.cleanupNeverButton.setToolTip(_translate("NetworkPage", "Select to never cleanup automatically"))
        self.cleanupNeverButton.setText(_translate("NetworkPage", "Never"))
        self.cleanupExitButton.setToolTip(_translate("NetworkPage", "Select to cleanup upon exiting"))
        self.cleanupExitButton.setText(_translate("NetworkPage", "When exiting the application"))
        self.cleanupSuccessfulButton.setToolTip(_translate("NetworkPage", "Select to cleanup after a successful download"))
        self.cleanupSuccessfulButton.setText(_translate("NetworkPage", "When download finished successfully"))
        self.displayGroup.setTitle(_translate("NetworkPage", "Download Manager Display Policy"))
        self.openOnStartCheckBox.setToolTip(_translate("NetworkPage", "Select to open the download manager dialog when starting a download"))
        self.openOnStartCheckBox.setText(_translate("NetworkPage", "Open when starting download"))
        self.closeOnFinishedCheckBox.setToolTip(_translate("NetworkPage", "Select to close the download manager dialog when the last download is finished"))
        self.closeOnFinishedCheckBox.setText(_translate("NetworkPage", "Close when downloads finished"))
from eric7.EricWidgets.EricPathPicker import EricPathPicker
